package com.sharp.socket.io.config;

/**
 * Title: SocketIoRedisKey
 * Description: Copyright: Copyright (c) 2019 Company: BHFAE
 *
 * @author Sharp
 * @date 2020/9/22 16:07
 */
public class SocketIoRedisKey {
    public static final String BASE_KEY_PREFIX = "ROBOT_LIVE:";

    /**
     * SET
     */
    public static final String SOCKET_IO_SESSION_USER_LIST = BASE_KEY_PREFIX + "SESSION:";

    /**
     * PUB/SUB
     */
    private static final String SOCKET_IO_TOPIC_KEY = BASE_KEY_PREFIX + "TOPIC:";
    public static final String SOCKET_IO_MSG_TOPIC_KEY = SOCKET_IO_TOPIC_KEY + "MSG";

    public static final String SOCKET_IO_CMD_TOPIC_KEY = SOCKET_IO_TOPIC_KEY + "CMD";
}
